/* 通用重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

body {
    background-color: #0d1117;
    color: #c9d1d9;
    line-height: 1.5;
    padding: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

/* 头部导航样式 */
h1 {
    color: #f0f6fc;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 1px solid #21262d;
    padding-bottom: 10px;
}

/* 导航栏样式 */
tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background-color: #161b22;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 10px 15px;
}

tr h1 {
    display: flex;
    gap: 15px;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 链接样式 */
a {
    color: #58a6ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #79c0ff;
    text-decoration: underline;
}

/* 按钮样式 */
button {
    background-color: #238636;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #2ea043;
}

/* 内容区域样式 */
p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    tr {
        flex-direction: column;
        gap: 15px;
    }
    
    tr h1 {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    body {
        padding: 15px;
    }
}

/* GitHub风格代码块样式 */
pre {
    background-color: #161b22;
    border-radius: 6px;
    padding: 16px;
    overflow: auto;
    margin: 15px 0;
    border: 1px solid #21262d;
}

code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 14px;
}

/* 分隔线样式 */
hr {
    border: 0;
    height: 1px;
    background-color: #21262d;
    margin: 20px 0;
}

